<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
    {{info}}
    <!--v-bind:属性名="变量" 让元素的xxx属性的值和变量进行绑定 -->
    <input type="text" v-bind:value="'我叫'+name">
    <!--简写-->
    <input type="text" :value="name">
    <a :href="url">超链接</a>
    <img :src="picUrl">
</div>
<script src="js/vue.js"></script>
<script>
    let app = Vue.createApp({
        data() {
            return {
                picUrl:"../b.jpg",
                info: "属性绑定",
                name: "刘德华",
                url: "http://www.baidu.com"
            }
        },
    })
    app.mount("body>div");
</script>
</body>
</html>